#pragma once
#ifdef HAVE_BRAINVISION_RECORDER
#include "RecorderRDA.h"
#endif
#include "Gangia_GUI.h"

int GetServerMessage(SOCKET socket, RDA_MessageHeader** ppHeader);

class WaitDlg :	public WaitDialog
{
public:
	WaitDlg(wxWindow *parent, SOCKET hSocket);
	~WaitDlg(void);
	void CheckConn(wxTimerEvent& Event );
	bool BrainVisionOn;
	SOCKET Socket;
	RDA_MessageHeader* pHeader;

	wxStaticBitmap* m_bitmap4;
	wxStaticText* m_staticText75;
	DECLARE_EVENT_TABLE();
private:
	wxTimer	Timer;

};

